
<template>
   <!-- 头部 -->
        <header class="header">
            <!-- 头部的第一行 -->
            <div class="top">
                <div class="container">
                    <div class="loginList">
                          <p>北京市</p>
                        
                      
                        <!-- <p>
                            <span>请</span>
                            <a href="###">登录</a>
                            <a href="###" class="register">免费注册</a>
                        </p> -->
                    </div>
                    <div class="typeList">
                        <a href="###">我的订单</a>
                        <a href="###">我的特卖</a>
                        <a href="###">会员俱乐部</a>
                        <a href="###">客户服务</a>
                        <a href="###">手机版</a>
                        <a href="###">更多</a>
                       
                    </div>
                </div>
            </div>
            <!--头部第二行 搜索区域-->
            <div class="bottom">
                <h1 class="logoArea">
                    <a class="logo" title="唯品会" href="###" target="_blank">
                        <img src="./images/1..png" alt="">
                    </a>
                    <a class="quality modal" title="唯品会" href="###" target="_blank">
                     
                      <p >100%正品</p> 
                    </a>  
                    <a class="mail modal" title="唯品会" href="###" target="_blank">
                      
                      <p >88元免邮</p> 
                    </a> 
                    <a class="salesRrturn modal" title="唯品会" href="###" target="_blank">
                        
                      <p>退换无忧</p> 
                    </a>             
                   
                </h1>
                <div class="searchArea">
                    <form action="###" class="searchForm">
                        <input type="text" id="autocomplete" class="input-error input-xxlarge" />
                        <button class="sui-btn btn-xlarge btn-danger" type="button">搜索</button>
                    </form>
                    <!-- <div class="clickShoppingCart">
                            <p>购物车</p>
                    </div> -->
                </div>
            </div>
        </header>
</template>

<script>
export default {
  name: 'Header',
}
</script>

<style lang="less" scoped>
  .header {
        &>.top {
            background-color: #eaeaea;
            height: 30px;
            line-height: 30px;

            .container {
                width: 1200px;
                margin: 0 auto;
                overflow: hidden;

                .loginList {
                    float: left;

                    p {
                        float: left;
                        margin-right: 10px;

                        .register {
                            border-left: 1px solid #f05595;
                            padding: 0 5px;
                            margin-left: 5px;
                        }
                    }
                }

                .typeList {
                    float: right;

                    a {
                        padding: 0 20px;

                           
                        &+a {
                            border-left: 1px solid #b3aeae;
                        }
                    }

                }

            }
        }

        &>.bottom {
            width: 1200px;
            margin: 0 auto;
            overflow: hidden;

            .logoArea {
                float: left;

                .logo {
                    img {
                        width: 175px;
                        margin: 25px 45px;
                        // background:#fff;
                    }
                }
               .modal{
                   font-size: 14px;
                   text-decoration:none;
                   width: 100px;
                    height: 80px;
                    display: block;
                    float:right ;
                    // background: rosybrown;
            
                    margin-top: 40px;
                    text-align: center;
                    line-height:80px ;

               }
            }

            .searchArea {
                float: right;
                margin-top: 35px;
                // width: 600px;
                // background: violet;
              
               
                .searchForm {
                    overflow: hidden;
                    margin-top: 15px;
                    // background: yellow;

                    input {
                        box-sizing: border-box;
                        width: 400px;
                        height: 40px;
                        padding: 0px 4px;
                        border: 4px solid #f05595;
                        float: left;

                        &:focus {
                            outline: none;
                        }
                    }

                    button {
                        height: 40px;
                        width: 68px;
                        background-color: #f05595;
                        border: none;
                        color: #fff;
                        float: left;
                        cursor: pointer;

                        &:focus {
                            outline: none;
                        }
                    }
                }
                // .clickShoppingCart{
                //     margin:-50px 0px 0px 20px;
                //      float: right;
                //      width: 50px;
                //      height: 80px;
                //      border: wheat 1px solid;
                //      line-height: 80px;
                //      text-align: center;

                // }
            }
        }
    }
</style>
